import { $t } from "@/plugins/i18n";

export default {
  path: "/map",
  meta: {
    icon: "ri:map-pin-2-fill",
    title: "地图",
    rank: 3
  },
  children: [
    {
      path: "/map/leafmap",
      name: "leafmap",
      component: () => import("@/views/map/leafmap.vue"),
      meta: {
        icon: "ri:map-2-fill",
        title: "leafmap",
        roles: ["admin"]
      }
    },
    {
      path: "/map/FenceDrawing",
      name: "FenceDrawing",
      component: () => import("@/views/map/FenceDrawing.vue"),
      meta: {
        icon: "ri:map-2-fill",
        title: "FenceDrawing",
        roles: ["admin"]
      }
    },
    {
      path: "/map/hmapleaflet",
      name: "hmapleaflet",
      component: () => import("@/views/map/index.vue"),
      meta: {
        icon: "ri:map-2-fill",
        title: "标记聚合",
        roles: ["admin"]
      }
    },
    {
      path: "/map/f",
      name: "f",
      component: () => import("@/views/map/f.vue"),
      meta: {
        icon: "ri:map-2-fill",
        title: "热力图",
        roles: ["admin"]
      }
    },
    {
      path: "/map/TestAnt",
      name: "TestAnt",
      component: () => import("@/views/map/ant.vue"),
      meta: {
        icon: "ri:map-2-fill",
        title: "蚂蚁图",
        roles: ["admin"]
      }
    }
  ]
} satisfies RouteConfigsTable;
